Implement display-monitor-attributes-list for NS.
authorJan D. <jan.h.d@swipnet.se>
Thu, 9 May 2013 15:17:38 +0000 (17:17 +0200)
committerJan D. <jan.h.d@swipnet.se>
Thu, 9 May 2013 15:17:38 +0000 (17:17 +0200)
commit2409e7e622a89b8fd3f1c6f02b1bf8eb279298a5
tree0b7284dbe8760ca9526139b5d5050009cb93e445
parentd9730f8aad76b80ea206a08819e5d43f651a6a80
Implement display-monitor-attributes-list for NS.

* lisp/frame.el (display-monitor-attributes-list): Add NS case.
(ns-display-monitor-attributes-list): Declare.

* src/nsfns.m: Include IOGraphicsLib.h if Cocoa.
(Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare.
(MonitorInfo): New struct.
(free_monitors, ns_screen_name, ns_make_monitor_attribute_list)
(Fns_display_monitor_attributes_list): New functions.
(display-usable-bounds): Remove.
(syms_of_nsfns): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes and
Qsource.
configure.ac
lisp/ChangeLog
lisp/frame.el
src/ChangeLog
src/nsfns.m